<html xmlns="http://www.w3c.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.prime.com.tr/ui">

<h:head>
</h:head>
<h:body>
	<p:spinner />
	
	<h:form> 
		<p:dataTable var="car" value="#{carBean.cars}">
			<p:column>
				<f:facet name="header">
					<h:outputText value="Model" />
				</f:facet>			
				<h:outputText value="#{car.model}" />
			</p:column>
			
			<p:column>
				<f:facet name="header">
					<h:outputText value="Year" />
				</f:facet>
				<h:outputText value="#{car.year}" />
			</p:column>
			
			<p:column>
				<f:facet name="header">
					<h:outputText value="Manufacturer" />
				</f:facet>
				<h:outputText value="#{car.manufacturer}" />
			</p:column>
			
			<p:column>
				<f:facet name="header">
					<h:outputText value="Color" />
				</f:facet>
				<h:outputText value="#{car.color}" />
			</p:column>
			
		</p:dataTable>
	</h:form> 
</h:body>
</html>